package com.anc.admin.model.admin.hanlder;

import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
@Slf4j
public class XsyService {
    @Autowired
    private XsyHandlerContext xsyHandlerContext;

    public void accept(String taskName){
        XsyHandler exportHandler = xsyHandlerContext.getExportHandler(taskName);
        exportHandler.sayHello();
    }
}
